import { request } from '@/utils/request'

const base = '/dicts'

export function findDicts () {
  return request({
    url: base,
    method: 'get'
  })
}

export function addDicts (dicts) {
  return request({
    url: base,
    method: 'post',
    data: dicts
  })
}
